package com.scisoft.scan.data;

import com.scisoft.scan.data.shelves.ShelvesInfoBean;

import java.io.Serializable;

public class BarCodeBean implements Serializable {
    //无效
    public static final int BAR_UNKNOWN = 0;
    //配件
    public static final int BAR_PART = 1;
    //货架
    public static final int BAR_SHELVES = 2;
    //二维码规则
    public int barType = BAR_UNKNOWN;
    //配件信息
    public PartBean partBean;
    //货架信息
    public ShelvesInfoBean shelvesBean;

    //构造函数
    public BarCodeBean() {
        barType = BAR_UNKNOWN;
        partBean = new PartBean();
        shelvesBean = new ShelvesInfoBean();
    }
}
